package com.ag.work.service.impl;

import java.util.List;

import org.apache.log4j.Logger;

import com.ag.work.dao.EventPlanDAO;
import com.ag.work.service.IEventPlanService;

public class EventPlanServiceImpl implements IEventPlanService {

	private static final Logger log = Logger.getLogger(EventPlanServiceImpl.class);
	private EventPlanDAO eventPlanDAO;
	
	@Override
	public List findPStatusByEId(String EId1) {
		
		/*log.info("result:--"+this.eventPlanDAO.findByProperty("EId", EId1));		
		return this.eventPlanDAO.findByProperty("EId", EId1);*/
		
		log.info("result:--"+this.eventPlanDAO.findPStatusByEId(EId1));		
		return this.eventPlanDAO.findPStatusByEId(EId1);
	}

	public EventPlanDAO getEventPlanDAO() {
		return eventPlanDAO;
	}

	public void setEventPlanDAO(EventPlanDAO eventPlanDAO) {
		this.eventPlanDAO = eventPlanDAO;
	}

}
